#ifndef __WXD_COMPONENT_H__
#define __WXD_COMPONENT_H__

#include "defs.h"

class WXDLLIMPEXP_DIRECTUI wxDComponent
{
	friend class WXDLLIMPEXP_DIRECTUI  wxDComponentManager;
public:
	inline wxDComponent(const wxString& id, bool managed = true);

	virtual ~wxDComponent();

	const wxString& GetId() const { return mId; }

	bool IsManaged() const { return mManaged; }

protected:
	wxString mId;
	bool mManaged;
};

#endif